<?php $data['alphabs_left'] = (new Dictionary())->Listword_Left() ?>
<div>
    <div class="drop-list-menu">

    </div>
    <div class="menu-scroll">
        <div class="menu-default">
            <div class="title-top-hd">
                <?php $flag = 0; ?>
                @foreach($data['alphabs_left'] as $values)
                @if($flag == 0)
                <div class="ct"> {{strtoupper($values[0])}}</div>
                <div class="ct-list">
                    <ul>
                        @foreach($values[1] as $value)
                         <li><a href="{{route('tu-dien-chi-tiet',array('id'=>$value['id'],'name'=>Str::slug($value['title'])))}}">{{$value['title']}}</a></li>
                        @endforeach
                    </ul>
                    @else
                    <div class="tt-middle"> {{strtoupper($values[0])}}</div>
                    <ul>
                        @foreach($values[1] as $value)
                        <li><a href="{{route('tu-dien-chi-tiet',array('id'=>$value['id'],'name'=>Str::slug($value['title'])))}}">{{$value['title']}}</a></li>
                        @endforeach
                    </ul>
                    @endif
                
                <?php $flag = $flag + 1; ?>
                @endforeach
                @if(count($data['alphabs_left'])>0)
                </div>
                @endif
            </div>
        </div>
    </div>
</div>